Skip to content

Conversation

@glitch003
Copy link
Contributor

@glitch003 glitch003 commented Dec 19, 2025

TL;DR

  • Configures k256 contract address as 0x029bedeacaf6821ce9a6bd7c8ac73350f24a014f
  • Updated the unused P256 contract address to a placeholder value in hardhat configuration.

Copilot AI review requested due to automatic review settings December 19, 2025 21:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the k256 precompile configuration to the litMainnet network in the Hardhat config. The change enables support for Arbitrum Stylus contracts on the litMainnet chain by configuring the required precompile contract addresses.

  • Adds stylusContractsForTests configuration block to the litMainnet network
  • Configures k256 contract address as 0x029bedeacaf6821ce9a6bd7c8ac73350f24a014f
  • Configures p256 contract address with fallback to environment variable

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Dec 19, 2025

PASS [ 43.166s] (3/3) lit_node::test toxiproxy::perf_tests::load_with_no_latency
PASS [ 43.393s] (2/3) lit_node::test toxiproxy::perf_tests::load_with_50ms_latency_single_link
PASS [ 89.785s] (1/3) lit_node::test toxiproxy::perf_tests::load_with_50ms_latency_all_links

@DashKash54
Copy link

Required when re-deploying Naga-proto

Copy link
Contributor

@GTC6244 GTC6244 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved - copilot suggestion is probably a good one.

@Garandor Garandor force-pushed the fix/add-stylus-precompiles-to-chain-config branch from 900e38c to 26b098f Compare January 13, 2026 20:04
Copy link
Contributor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Garandor
Copy link
Contributor

Garandor commented Jan 13, 2026

Changed to 0xDEADBEEF, tested ID deployment and works

❯    npx ts-node scripts/deploy.ts --deploy-config /Users/adam/git/lit-peer/rust/lit-node/lit-node/scripts/remote_dev/lit_os/deploy-config.json
Completed item 9 from verification queue
Done deploying

@Garandor Garandor requested review from GTC6244 and Garandor January 13, 2026 20:07
@Garandor Garandor merged commit ac869c6 into master Jan 13, 2026
35 checks passed
Copy link
Contributor

Merge activity

@Garandor Garandor deleted the fix/add-stylus-precompiles-to-chain-config branch January 13, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants